#include <stdio.h>

int main() {
	int x, y, i;
	for (x = 1; x <= 9; x++) {
		for (y = 1; y <= 9; y++) {
			if (y < x)
				printf("       ");
			else
				i = x * y,	printf("%d*%d=%-2d ", x, y, i);
		}
		printf("\n");
	}
}